package com.zhongkun.datahome.service.req.cmd.appointment;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author: MinKun
 * @Date: Created in 2025/6/26
 * @Description:
 */
@Data
public class AppointmentUpdateCmd {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("预约名称")
    private String appointmentName;

    @ApiModelProperty("邀约文案")
    private String invitationText;

    @ApiModelProperty("预约时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appointmentTimeStart;

    @ApiModelProperty("预约时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date appointmentTimeEnd;

    @ApiModelProperty("参观时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date visitTimeStart;

    @ApiModelProperty("参观时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date visitTimeEnd;

    @ApiModelProperty("生效时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date effectiveTimeStart;

    @ApiModelProperty("生效时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date effectiveTimeEnd;

    @ApiModelProperty("预约楼栋名称")
    private String appointmentHouseInfo;

    @ApiModelProperty("预约说明")
    private String reservationInstructions;

    @ApiModelProperty("时间段配置")
    private List<AppointmentTimeSlotCmd> times;

    @ApiModelProperty("指定业主")
    private List<AppointmentCustomerHouseCmd> customers;
}
